class Tkinter事件绑定器:
    @staticmethod
    def 绑定点击事件(widget, command):
        widget.bind("<Button-1>", command)

    @staticmethod
    def 绑定双击事件(widget, command):
        widget.bind("<Double-1>", command)

    @staticmethod
    def 绑定右键点击事件(widget, command):
        widget.bind("<Button-3>", command)

    @staticmethod
    def 绑定按键按下事件(widget, command):
        widget.bind("<Key>", command)

    @staticmethod
    def 绑定按键释放事件(widget, command):
        widget.bind("<KeyRelease>", command)

    @staticmethod
    def 绑定鼠标进入事件(widget, command):
        widget.bind("<Enter>", command)

    @staticmethod
    def 绑定鼠标离开事件(widget, command):
        widget.bind("<Leave>", command)

    @staticmethod
    def 绑定获取焦点事件(widget, command):
        widget.bind("<FocusIn>", command)

    @staticmethod
    def 绑定失去焦点事件(widget, command):
        widget.bind("<FocusOut>", command)